public class MainNIO {

    public static void main(String[] args) {
        int port = -1;
        if (args.length > 0) {
            port = Integer.parseInt(args[0]);
        }
        NioHttpServer server = new NioHttpServer(port);
        server.run();
    }

}
